<?php /* @var $this Controller */ ?>
<?php $this->beginContent('/layouts/main'); ?>
<div class="main container-fluid">
<div class="row-fluid">
	<div class="span2">
		<div id="sidebar">
			<?php $this->_renderSidebar() ?>
		</div><!-- sidebar -->
	</div>
	<div class="span10 main-col">
		<div id="content">
			<div class="page-header">
				<div class="page-title"><h3><?php echo $this->pageHeader ?></h3></div>
				<div class="buttons">
					<button class="btn btn-primary" id="btn_save">Save Config</button>
				</div>
			</div>
			
			<!-- Notice -->
			<?php $flashes = Yii::app()->user->getFlashes() ?>
			<?php if (!empty($flashes)): ?>
				<?php foreach($flashes as $k => $msg): ?>
				<div class="alert alert-<?php echo $k ?>">
					<i data-dismiss="alert" class="icon-remove close"></i>
					<?php echo $msg ?>
				</div>
				<?php endforeach ?>
			<?php endif ?>
			
			<?php echo $content; ?>
		</div><!-- content -->
	</div>
</div>
</div>
<?php $this->endContent(); ?>